﻿namespace TLDRML.Tokens
{
    public class TokenPosition
    {
        public TokenPosition(int index, int line, int column)
        {
            Index = index;
            Line = line;
            Column = column;
        }

        public int Index { get; private set; }
        public int Line { get; private set; }
        public int Column { get; private set; }

        public override string ToString()
        {
            return string.Format("Index: {0}, Line: {1}, Column: {2}", Index, Line, Column);
        }
    }
}
